package com.heima.model.schedule.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Xiao
 * @version 1.0
 * @description taskinfo实体类
 * @date 2021/11/24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("taskinfo")
public class Taskinfo implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_ID)
    private Long taskId;    // 任务id
    private Date executeTime;   //执行时间
    private byte[] parameters;  //参数
    private Integer priority;   //优先级
    private Integer taskType;   //任务类型
}
